package com.jz.netthings.analysis.service;

import com.jz.netthings.analysis.bean.operManage.CollMacRuningStatus;
import com.baomidou.mybatisplus.service.IService;
import com.jz.netthings.analysis.bean.operManage.QueryCollMacRuningStatusSupport;
import com.jz.netthings.exception.AdscmSystemException;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 单采机运行状况综合统计表 服务类
 * </p>
 *
 * @author yangyunyun
 * @since 2019-07-24
 */
public interface CollMacRuningStatusService extends IService<CollMacRuningStatus> {

    /**
     * 构造某一天的单采机运行状况综合统计数据
     * @param date 日期，如果为null，则默认系统的当前日期
     * @throws AdscmSystemException
     */
    void loadCollMacRunningStatus(String date) throws AdscmSystemException;


    /**
     * 条件查询运行综合统计数据
     * @param queryCmrsSupport
     * @return
     * @throws AdscmSystemException
     * @throws IOException
     */
    List<CollMacRuningStatus> selectCollMacRunningStatus(QueryCollMacRuningStatusSupport queryCmrsSupport)throws AdscmSystemException;

}
